package com.example.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 入库单
 */
@Data
@TableName("in_form_")
@AllArgsConstructor
@NoArgsConstructor
public class InForm implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "my_id_", type = IdType.ASSIGN_ID)
    private String myId;

    /**
     * 供应商名称
     */
    @TableField("supplier_name_")
    private String supplierName;

    /**
     * 负责人
     */
    @TableField("principal_")
    private String principal;

    /**
     * 操作员
     */
    @TableField("operator_")
    private String operator;

    /**
     * 总金额
     */
    @TableField("aggregate_")
    private Double aggregate;

    /**
     * 采购时间
     */
    @TableField("date_")
    private Date date;

    /**
     * 状态：待审核0   通过1   不通过-1
     */
    @TableField("status_")
    private String status;
}
